package com.shqcjd.sinopecdemomobile.model.pojo;

import java.util.List;

/**
 * Created by sy on 2019/3/25.
 */

public class IndexBean {


    public List<MenusBean> menus;
    public List<NewsBean> news;
    public List<SatisfactionBean> satisfaction;
    public List<KnowledgeBean> knowledge;
    public List<ExpertBean> expert;

    public static class MenusBean {
        /**
         * children : [{"children":null,"current":{"id":70,"menu_name":"问题反馈","parent_id":65,"url":"question","icon":null},"name":"问题反馈","value":"question"},{"children":null,"current":{"id":71,"menu_name":"智能维修","parent_id":65,"url":"repair","icon":null},"name":"智能维修","value":"repair"},{"children":null,"current":{"id":72,"menu_name":"图像回放","parent_id":65,"url":"reply","icon":null},"name":"图像回放","value":"reply"},{"children":null,"current":{"id":73,"menu_name":"知识库","parent_id":65,"url":"knowledge","icon":null},"name":"知识库","value":"knowledge"},{"children":null,"current":{"id":74,"menu_name":"缺陷管理","parent_id":65,"url":"exception","icon":null},"name":"缺陷管理","value":"exception"}]
         * current : {"id":65,"menu_name":"APP导航","parent_id":0,"url":"NAVICATION","icon":null}
         * name : APP导航
         * value : NAVICATION
         */

        public CurrentBean current;
        public String name;
        public String value;
        public List<ChildrenBean> children;

        public static class CurrentBean {
            /**
             * id : 65
             * menu_name : APP导航
             * parent_id : 0
             * url : NAVICATION
             * icon : null
             */

            public int id;
            public String menu_name;
            public int parent_id;
            public String url;
            public Object icon;
        }

        public static class ChildrenBean {
            /**
             * children : null
             * current : {"id":70,"menu_name":"问题反馈","parent_id":65,"url":"question","icon":null}
             * name : 问题反馈
             * value : question
             */

            public Object children;
            public CurrentBeanX current;
            public String name;
            public String value;

            public static class CurrentBeanX {
                /**
                 * id : 70
                 * menu_name : 问题反馈
                 * parent_id : 65
                 * url : question
                 * icon : null
                 */

                public int id;
                public String menu_name;
                public int parent_id;
                public String url;
                public Object icon;
            }
        }
    }

    public static class NewsBean {
        /**
         * id : 2
         * title : 测试新闻2
         * img : https://yuhuantest.oss-cn-shanghai.aliyuncs.com/QQ图片20190410185721-20190520115500.jpg
         */

        public int id;
        public String title;
        public String img;
    }

    public static class SatisfactionBean {
        /**
         * rate : 0.0
         * label : 问题答复率
         */

        public double rate;
        public String label;
    }

    public static class KnowledgeBean {
        /**
         * id : 4
         * name : 知识库1
         * img : https://yuhuantest.oss-cn-shanghai.aliyuncs.com/0_20190417093113722-20190417173117-20190514195513.mp4
         * tags : 标签1,标签4,标签2,标签3,标签6,标签6,标签6,标签2,问问,23,23,23123
         */

        public int id;
        public String name;
        public String img;
        public String tags;
    }

    public static class ExpertBean {
        /**
         * id : 59
         * name : 11111111
         * info : <p>用 JS 设置的内容323</p>
         * expert_type : 专家
         * img :
         */

        public int id;
        public String name;
        public String info;
        public String expert_type;
        public String img;
    }
}
